package com.socodethis.spaceex;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
import com.socodethis.spaceex.gamescreen.GameScreen;
import com.socodethis.spaceex.math.cPoint;

public abstract class customGame extends Game {
	private worldGeneratorClass mapGen;
	private GameScreen gScreen;
	private boolean pathFinder = false;
	
	public void loadWorld(int regions){
		mapGen = new worldGeneratorClass(regions);
	}
	public void setWorld(worldGeneratorClass mapGen){
		this.mapGen = new worldGeneratorClass(mapGen);
	}
	public worldGeneratorClass returnWorld(){
		return mapGen;
	}
	public boolean returnPathfinder(){
		return pathFinder;
	}
	public void setPathFinder(boolean set){
		pathFinder = set;
	}
	public void holdGameScreen(GameScreen gScreen){
		this.gScreen = gScreen;
	}
	public GameScreen getGScreen(){
		return gScreen;
	}
	public void setScreen () {
		setScreen(gScreen);
	}
}